<div class="market" ng-init="init()">
  <div class="market-tab">
    <span ng-class="{'actived':current_state === '/market.hs'}" ng-click="go('market.hs')">沪深</span>
    <span ng-class="{'actived':current_state === '/market.bk'}" ng-click="go('market.bk')">板块</span>
    <span ng-class="{'actived':current_state === '/market.cy'}" ng-click="go('market.cy')">创业</span>
  </div>
  <div class="market-board">
    <div ng-repeat="item in board track by $index" ng-click="go_detail(item)" ng-class="{'global_back_red a-flipinY':item.dev_h>0,'global_back_green a-flipinY':item.dev_h<0,'global_back_gray a-flipinY':item.dev_h==0}">
      <div ng-bind="item.stkinfo.name"></div>
      <div ng-bind="item.now.toFixed(2)"></div>
      <div>
        <span ng-bind="item.zde.toFixed(2)"></span>
        <span ng-bind="(item.dev_h*100).toFixed(2)+'%'"></span>
      </div>
    </div>
  </div>
  <ui-view></ui-view>
</div>